package com.peas.platform.common.core.configuration;

/*
@Slf4j
public class SwaggerModelSpecificationMapperImpl extends ModelSpecificationMapperImpl {

    @Override
    protected Map<String, Property> mapProperties(Map<String, PropertySpecification> properties, ModelNamesRegistry modelNamesRegistry) {
        Map<String, Property> treeMap = super.mapProperties(properties, modelNamesRegistry);
        List<String> keyList = properties.entrySet().stream()
                .sorted(Map.Entry.comparingByValue(
                        Comparator.comparing(PropertySpecification::getPosition)
                                .thenComparing(PropertySpecification::getName)))
                .map(Map.Entry::getKey)
                .collect(Collectors.toList());
        log.debug(String.valueOf(keyList));
        for (String key : keyList) {
            Property property = treeMap.get(key);
            PropertySpecification propertySpecification = properties.get(key);
            property.setPosition(propertySpecification.getPosition());
        }
        return treeMap;
    }

}
*/

public class SwaggerModelSpecificationMapperImpl {

}
